﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace University.Workshop.DataAccess
{
    [Serializable]
    public class DataAccessException : Exception
    {

        //protected DataAccessException(SerializationInfo si, StreamingContext sc)
        protected DataAccessException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
            
        public DataAccessException()
        {

        }

        public DataAccessException(string msg)
            : base(msg)
        {

        }

        public DataAccessException(string msg, Exception inner)
            : base(msg, inner)
        {

        }
    }
}
